package cn.bxc;

import cn.bxc.req.ShopCartReq;
import cn.bxc.res.PayOrderRes;

import java.util.List;

/**
 * @author bxc
 * @date 2025/6/8 14:37
 **/
public interface IOrderService {

    /*
    * 创建订单
    * */
    PayOrderRes createOrder(ShopCartReq shopCartReq) throws Exception;

    void changeOrderPaySuccess(String orderId);

    List<String> queryNoPayNotifyOrder();

    List<String> queryTimeoutCloseOrderList();

    boolean changeOrderClose(String orderId);

}
